home *** CD-ROM | disk | FTP | other *** search
- Padgett's WORD Macro Antivirus v1.10
-
- About all I can say is that it works though the popup display of the
- selected Macro code does not. You also may get some odd error messages.
- Am working on it.
-
- This is FreeWare but I ask that you read the ABOUT and see the TRIALs page
- http://www.netmind.com/~padgett/trial.htm
-
- Let me know if you have difficulty.
-
- Note: While I have done an incredible amount of testing on many different
- platforms, both MAC and PC, I have had one major limitation: The English
- Language (American) version of WORD was all that I have had available. I
- know that there are many other versions and some may have different names
- for Built In functions whose names I have had to hardcode.
-
- However the scripts are not protected in any way other than the PGP
- signatures I have provided for each macro to ensure authenticity. If
- using a different language version, some patching of string variable
- names may be necessary.
-
- Version 1.10 adds three elements not found in version 1.00:
- 1) I have tried to group all "language sensitive" declarations near the
- front to simplify conversion.
- 2) There is a new CLOSE DOC button for a safe exit from doubtful documents.
- 3) Key reassignment detection is also added.
-
- Some Notes on WORD macros and viruses
-
- The current plague of WORD macro viruses is the result of the defaults
- and extra "features" built into WORD version 6.0 and later. Prior to
- this version, the capabilities were not extensive enough to attract the
- attention of virus writers.
-
- Fortunately, people who really understand all of the nuances of a
- language rarely write viruses, if they did, the world of computing and
- the Internet would be far different. WORD virus writers are no
- different, and fortunately few have access to the full range of
- equipment required to write a really dangerous virus. So far.
-
- In any event, it is the macro capability of WORD which makes it such a
- "target rich" environment. That and the fact that WORD not only runs
- macros by default, it does so without any warning to the user.
-
- Further, WORD being a binary file system of its own, one cannot just
- look inside a document and determine if it is infected. It is complex
- and Microsoft considers the format to be "proprietary". This factor
- alone as made if very difficult for anti-virus researchers to devise
- defenses.
-
- I have no idea why Microsoft has decided to make life easy for virus
- writers and difficult for anti-virus researchers or even if it was a
- concious decision, but this is what they have accomplished.
-
- Be that as it may, there are some things that can be done. The first
- is to determine whether a document has macros at all. This fact is
- determined by the LSB of a byte at offset 0xA from the start of a
- paragraph which begins "DC A5" in American English versions of WORD
- (each language version is likely to be slightly different and
- undocumented, this makes life interesting). There is an arcane method
- involving the internal FAT of a WORD document to find this exactly but I
- have not deciphered this. Yet.
-
- The important thing is that unless this bit is set, WORD will neither
- look for nor be affected by macros in the document, it will act as if
- they are not there at all. Some early anti-virus programs simply turned
- this bit off leaving the viral macros intact but dormant needing only to
- have the bit turned on again.
-
- However, so long as it is off, WORD will not recognize that any macros
- are present and neither will an macro such as mine which runs over WORD.
-
- In this case, an extrnal scanner may find the signatures in a file even
- though they are dormant. At this point there is some question what
- should be done in this case.
-
- A second case is that of false positives - the case when a scanner may
- find the remnamts of a previous infection that is not active and flag
- the document as infected even though it is not.
-
- In these two cases, MacroList will not detect viral macros because there
- are none active in the document.
-
- The best answer is to use SaveAs to make a new copy of the document and
- to check the new copy. If it is clean then delete the original and work
- from the copy.
-
- This is release number 1.10. Last updated 5 Feb. 1997
-
- A. Padgett Peterson
- padgett@hobbes.orl.mmc.com
-